package com.assessment.servermanager.oss.factory;

import com.assessment.servermanager.commen.utils.JsonUtils;
import com.assessment.servermanager.oss.core.OssClient;
import com.assessment.servermanager.oss.exception.OssException;
import com.assessment.servermanager.oss.properties.OssProperties;
import lombok.extern.slf4j.Slf4j;

import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

/**
 * 文件上传Factory
 *
 * @author Lion Li
 */
@Slf4j
public class OssFactory {


    /**
     * 获取默认实例
     */
    public static OssClient instance() {
        return new OssClient(null,new OssProperties());
    }

}
